#@layout()

#define content()
<div class="content-wrapper">

    <section class="content-header">
        <h1>
            模板设置
            <small>Template Setting</small>
        </h1>
    </section>

    <section class="content">

        <div class="row">
            <div class="col-xs-12">
                <div class="box box-primary">
                    <div class="box-header ">
                        <h3 class="box-title">This ...</h3>
                    </div>
                    <form class="form-horizontal form-setting" autocomplete="off" id="optionForm">
                        <div class="box-body ">

                            <div class="form-group">
                                <label class="col-sm-2 control-label">关于</label>
                                <div class="col-sm-6">
                                    <textarea rows="3" class="form-control" placeholder="关于..." name="this_web_gy">#option("this_web_gy","关于......")</textarea>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">copyright</label>
                                <div class="col-sm-6">
                                    <textarea rows="3" class="form-control" placeholder="copyright" name="this_web_copyright">#option("this_web_copyright","copyright @ 2018~2020 JPress Theme is This by <a href=\"http://ucuser.cn\">HaoHan</a><br />")</textarea>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">LOGO</label>
                                <div class="col-sm-6">
                                    <button type="button" for-src="img" for-input="imginput" class="btn-image-browser btn btn-flat btn-default btn-xs">
                                        <i class="fa fa-fw fa-image"></i> 选择图片
                                    </button>
                                    <br/>
                                    <img src="#(CPATH)#option('this_web_logo','https://www.ucuser.cn/attachment/20200121/db84909f1b7746e28aa2f8a483ec4478.png')" id="img">
                                    <input type="hidden" id="imginput" name="this_web_logo" value="#option('this_web_logo')">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">广告位</label>
                                <div class="col-sm-6">
                                    <button type="button" for-src="img" for-input="imginput" class="btn-image-browser btn btn-flat btn-default btn-xs">
                                        <i class="fa fa-fw fa-image"></i> 选择图片
                                    </button>
                                    <br/>
                                    <img src="#(CPATH)#option('this_web_ggw','images/ad.png')" id="ggwpng">
                                    <input type="hidden" id="ggw" name="this_web_ggw" value="#option('this_web_ggw','images/ad.png')">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">广告位链接</label>
                                <div class="col-sm-6">
                                    <textarea rows="3" class="form-control" placeholder="广告位链接" name="this_web_ggw_link">#option("this_web_ggw_link","/")</textarea>
                                </div>
                            </div>

                        </div>

                        <div class="box-footer">
                            <div class="col-sm-offset-2 col-sm-10 submit-block">
                                <div class="box-submit">
                                    <button type="submit" class="btn btn-primary">提交</button>
                                </div>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>

    </section>

</div>
#end
